#include "ModbusActionStruct.h"

ModbusActionStruct::ModbusActionStruct()
{
    m_registerStartAddress = 0;
    m_registerNumber = 0;
}

QString ModbusActionStruct::name() const
{
    return m_name;
}

void ModbusActionStruct::setName(const QString &name)
{
    m_name = name;
}

quint16 ModbusActionStruct::registerStartAddress() const
{
    return m_registerStartAddress;
}

void ModbusActionStruct::setRegisterStartAddress(const quint16 &registerStartAddress)
{
    m_registerStartAddress = registerStartAddress;
}

quint16 ModbusActionStruct::registerNumber() const
{
    return m_registerNumber;
}

void ModbusActionStruct::setRegisterNumber(const quint16 &registerNumber)
{
    m_registerNumber = registerNumber;
}

QList<quint16> ModbusActionStruct::registrValueList() const
{
    return m_registrValueList;
}

void ModbusActionStruct::setRegistrValueList(const QList<quint16> &registrValueList)
{
    m_registrValueList = registrValueList;
}
